

import LayoutMain from '@/layout';
import setting from '@/setting';
let routePre = setting.routePre;

const pre = 'medical_order_';

export default {
  path: routePre + '/medical_order',
  name: 'medical_order',
  header: 'medical_order',
  redirect: {
    name: `${pre}list`,
  },
  component: LayoutMain,
  children: [
    {
      path: 'list',
      name: `${pre}list`,
      meta: {
        auth: ['admin-order-medicalOrder-index'],
        title: '订单管理',
      },
      component: () => import('@/pages/medical_order/orderList/index'),
    },
  ],
};
